/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testing;

import com.thesis.algorithm.FileConverter;
import com.thesis.algorithm.Sequence;
import com.thesis.utils.BusControl;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.util.LinkedList;

/**
 *
 * @author Aya Hikaru
 */
public class ReadWriteBinaryWrapper {
    public void WriteToBinary()
    {
        FileConverter fico = new FileConverter();
        fico.WriteToBinary();
    }
    public LinkedList<Sequence> ReadFromBinary()
    {
        FileConverter fico = new FileConverter(true);
        return fico.listOfSequences;
    }
}
